﻿namespace OasisCiq.Xpil
{
    using System.Collections.Specialized;
    using CommonTypes;
    using External;

    /// <summary>
    /// Visa category number depending upon the type of visa. 
    /// Example: H-1 for employment visa as in the USA
    /// </summary>
    public class VisaElement : CTString, IExtendedAttributes
    {
        public VisaElement(string value) 
            : base(value)
        {
        }

        /// <summary>
        /// If present, specifies the type of the information 
        /// provided as text value of the element.
        /// </summary>
        public VisaElementList Type { get; set; }

        public NameValueCollection ExtendedAttributes { get; set; }
    }
}
